package io.sdl.common.sys.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import io.sdl.common.service.impl.CrudServiceImpl;
import io.sdl.common.sys.dao.SdlDoctorPatientSessionDao;
import io.sdl.common.sys.dto.SdlDoctorPatientSessionDTO;
import io.sdl.common.sys.entity.SdlDoctorPatientSessionEntity;
import io.sdl.common.sys.service.SdlDoctorPatientSessionService;
import org.springframework.stereotype.Service;

import java.util.Map;


@Service("sdlDoctorPatientSessionService")
public class SdlDoctorPatientSessionServiceImpl extends CrudServiceImpl<SdlDoctorPatientSessionDao, SdlDoctorPatientSessionEntity, SdlDoctorPatientSessionDTO> implements SdlDoctorPatientSessionService {


    @Override
    public QueryWrapper<SdlDoctorPatientSessionEntity> getWrapper(Map<String, Object> params) {
        return null;
    }

    @Override
    public SdlDoctorPatientSessionEntity getConversation(String conversationId) {
        SdlDoctorPatientSessionEntity conversation = baseDao.getConversation(conversationId);
        return conversation;
    }

}